package design.createModel.singleton;

/**
 * @author wenhao hu
 * @title: HungerSingleton
 * @projectName design
 * @description: TODO
 * @date 2022/2/1813:50
 */
public class HungerSingleton {
    private static HungerSingleton hungerSingleton;

    private HungerSingleton(){}
    static {
        hungerSingleton = new HungerSingleton();
    }

    public static HungerSingleton getInstance(){
        return hungerSingleton;
    }
}
